module.exports = {
  apps: [
    {
      name: 'chuangjin-fe',
      script: './.output/server/index.mjs',
      watch: true,
      ignore_watch: ['node_modules', 'logs'],
      exec_mode: 'fork',
      instances: 1,
      max_memory_restart: '2G',
      error_file: './logs/app-err.log',
      merge_logs: true,
      log_date_format: 'YYYY-MM-DD HH:mm:ss',
      min_uptime: '60s',
      max_restarts: 10,
      restart_delay: 60,
      port: '3000'
    }
  ]
}
